package com.yq.ylmall.acl.mapper;

import com.yq.ylmall.dto.acl.AssignMenuDto;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RoleMenuMapper {
    public abstract List<Long> findSysRoleMenuByRoleId(Long roleId);

    public abstract void deleteByRoleId(Long roleId);

    public abstract void doAssign(AssignMenuDto assignMenuDto);

    void updateSysRoleMenuIsHalf(Long parentId);
}
